From: Andrew Cooper Date: Wed, 15 Oct 2014 17:33:54 +0000 (+0100) Subject: tools/mceinject: Fix build after 31d2d1e08a X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4167 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=bf30c7b27ef76beb284e2a88662486c3753e69a3;p=xen.git tools/mceinject: Fix build after 31d2d1e08a xen-mceinj is another utility which incorrectly makes use of xg_private.h Fix up its include path. While fixing this Makefile, remove some trailing whitespace. Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu CC: Stefano Stabellini CC: Konrad Rzeszutek Wilk Acked-by: Ian Campbell --- diff --git a/tools/tests/mce-test/tools/Makefile b/tools/tests/mce-test/tools/Makefile index 5ee001f817..aba7177507 100644 --- a/tools/tests/mce-test/tools/Makefile +++ b/tools/tests/mce-test/tools/Makefile @@ -3,9 +3,11 @@ include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror CFLAGS += $(CFLAGS_libxenctrl) +# xen-mceinj.c incorrectly use libxc internals +CFLAGS += -I$(XEN_ROOT)/tools/libxc CFLAGS += $(CFLAGS_libxenguest) -CFLAGS += $(CFLAGS_libxenstore) -CFLAGS += $(CFLAGS_xeninclude) +CFLAGS += $(CFLAGS_libxenstore) +CFLAGS += $(CFLAGS_xeninclude) .PHONY: all all: xen-mceinj